﻿
<html>
<base href="<?php echo base_url();?>">
<head>
<style type="text/css">
a{text-decoration:none;color:blue;}
a:hover{color:red;}
</style>
<link rel="stylesheet" href="css/admin/base.css" type="text/css">
<?php if(!empty($error)){?>
 <script type="text/javascript">
  
        alert("非法错误: "+"<?php echo $error;?>");   

 </script>
 <?php }?>
</head>

<body>

<table border="1" width="90%">

<caption style="height:30px;line-height:30px;"><font color="#AE39B"><b style="font-size:16px;">评论列表</b></font></caption>	
<tbody><tr>
    <tr align="center">
    <th width="10%"><font color=red><span style="font-size:15px"> 评论人</span></font></th>
    <th width="15%"><font color=blue><span style="font-size:15px">评论时间</span></font></th>
    <th width="15%"><font color=blue><span style="font-size:15px">email</span></font></th>
    <th width="45%"><font color=blue><span style="font-size:15px">内容</span></font></th>
	<th width="15%"><font color=blue><span style="font-size:15px">操作</span></font></th>
    </tr> 
<?php 
 foreach($commentlist as $c){
?>
<tr align="center">
  <th width="10%"><font color=red> <span style="font-size:15px"><?php echo $c['name'];?></font></a></th>
  <th width="15%"><span style="font-size:15px"><?php echo  $c['time'];?></span></th>
  <th width="15%"><span style="font-size:15px"><?php echo $c['email'];?></span></th>
  <th width="45%"><span style="font-size:15px"><?php echo $c['content'];?></span></th>
  <th width="15%"><font color=blue><a href="<?php echo site_url('admin/delcomment/'.$c['cid'].'/'.$c['id']);?>"><span style="font-size:15px">删除</span></a></font></th>
  
</tr>
<?php
  }
?>
</tr>

</table>
<div style="float:right;margin-right:10%"><?php echo $this->pagination->create_links();?></div>
<body>


</html>






